package com.ship.dispatch.service;

import com.ship.common.business.service.BaseService;
import com.ship.dispatch.bean.SpYearPlanSchemeDetail;
import com.ship.dispatch.bo.SpYearPlanSchemeDetailBO;
import com.ship.dispatch.bo.VirtualShipOptimizeSchemeDetailBO;
import com.ship.dispatch.bo.VirtualShipSchemeDetailBO;

/**
 * <p>
 * 方案详情 服务类
 * </p>
 *
 * @author AbyssRabbit@163.com
 * @since 2023-10-17
 */
public interface SpYearPlanSchemeDetailService extends BaseService<SpYearPlanSchemeDetail> {

    /**
     * 删除某一条甘特图信息
     * @param schemeDetailId
     * @return
     */
    void deleteSpYearPlanSchemeDetail(Long schemeDetailId);

    /**
     * 虚拟船保存甘特图(年度计划)
     * @param virtualShipSchemeDetailBO
     * @return
     */
    SpYearPlanSchemeDetail saveVirtualShipSchemeDetail(VirtualShipSchemeDetailBO virtualShipSchemeDetailBO);

    SpYearPlanSchemeDetail selectMaxSchemeDetail(String createBy,Long planId);
}
